package com.example.springfreemarker.pojo.duty;

import cn.hutool.core.date.DateUtil;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class DayDuty {
    private String estateName;
    private OperRecord totalRecord;
    @Builder.Default
    private String date = DateUtil.format(new Date(),"MM月dd日");
    private List<ParkRecord> parkRecords;
}
